import { View, Image } from '@hips/taro-ui'
import Styles from './user-menu.module.less'
import AppGroup from './user-menu-template/app-group'
export default {
  name: 'UserMenu',
  props: {
    dataSource: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {
      list: []
    }
  },
  render() {
    return (
      <View class={Styles['user-menu']}>
        {this.dataSource.map(i => {
          return <AppGroup data={i}></AppGroup>
        })}
      </View>
    )
  }
}
